<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Customers" targetNamespace="http://tempuri.org/Customers.xsd" xmlns:mstns="http://tempuri.org/Customers.xsd" xmlns="http://tempuri.org/Customers.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="PoserFilesConnectionString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="PoserFilesConnectionString (MySettings)" PropertyReference="ApplicationSettings.PoserFiles.My.MySettings.GlobalReference.Default.PoserFilesConnectionString" Provider="System.Data.OleDb">
          </Connection>
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustomerTableAdapter" GeneratorDataComponentClassName="CustomerTableAdapter" Name="Customer" UserDataComponentName="CustomerTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PoserFilesConnectionString (MySettings)" DbObjectName="Customer" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>DELETE FROM Customer
WHERE     (customer_id = ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="Param1" ColumnName="customer_id" DataSourceName="Customer" DataTypeServer="DbType.Int32" DbType="Int32" Direction="Input" ParameterName="customer_id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="customer_id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO `Customer` (`customer_name`, `customer_address`, `customer_phone`) VALUES (?, ?, ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="customer_name" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="customer_name" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="customer_address" Precision="0" ProviderType="LongVarWChar" Scale="0" Size="0" SourceColumn="customer_address" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="customer_phone" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="customer_phone" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT     customer_id, customer_name, customer_address, customer_phone
FROM         Customer</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>UPDATE    Customer
SET              customer_name = ?, customer_address = ?, customer_phone = ?
WHERE     (customer_id = ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="Param1" ColumnName="customer_name" DataSourceName="Customer" DataTypeServer="DbType.StringFixedLength(255)" DbType="String" Direction="Input" ParameterName="customer_name" Precision="0" ProviderType="WChar" Scale="0" Size="255" SourceColumn="customer_name" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="Param2" ColumnName="customer_address" DataSourceName="Customer" DataTypeServer="DbType.StringFixedLength" DbType="String" Direction="Input" ParameterName="customer_address" Precision="0" ProviderType="WChar" Scale="0" Size="1024" SourceColumn="customer_address" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="Param3" ColumnName="customer_phone" DataSourceName="Customer" DataTypeServer="DbType.StringFixedLength(255)" DbType="String" Direction="Input" ParameterName="customer_phone" Precision="0" ProviderType="WChar" Scale="0" Size="255" SourceColumn="customer_phone" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="Param4" ColumnName="customer_id" DataSourceName="Customer" DataTypeServer="DbType.Int32" DbType="Int32" Direction="Input" ParameterName="Original_customer_id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="customer_id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="customer_id" DataSetColumn="customer_id" />
              <Mapping SourceColumn="customer_name" DataSetColumn="customer_name" />
              <Mapping SourceColumn="customer_address" DataSetColumn="customer_address" />
              <Mapping SourceColumn="customer_phone" DataSetColumn="customer_phone" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Customers" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="Customers" msprop:Generator_DataSetName="Customers">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Customer" msprop:Generator_UserTableName="Customer" msprop:Generator_RowDeletedName="CustomerRowDeleted" msprop:Generator_TableClassName="CustomerDataTable" msprop:Generator_RowChangedName="CustomerRowChanged" msprop:Generator_RowClassName="CustomerRow" msprop:Generator_RowChangingName="CustomerRowChanging" msprop:Generator_RowEvArgName="CustomerRowChangeEvent" msprop:Generator_RowEvHandlerName="CustomerRowChangeEventHandler" msprop:Generator_TablePropName="Customer" msprop:Generator_TableVarName="tableCustomer" msprop:Generator_RowDeletingName="CustomerRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="customer_id" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="customer_id" msprop:Generator_ColumnPropNameInRow="customer_id" msprop:Generator_ColumnVarNameInTable="columncustomer_id" msprop:Generator_ColumnPropNameInTable="customer_idColumn" type="xs:int" />
              <xs:element name="customer_name" msprop:Generator_UserColumnName="customer_name" msprop:Generator_ColumnPropNameInRow="customer_name" msprop:Generator_ColumnVarNameInTable="columncustomer_name" msprop:Generator_ColumnPropNameInTable="customer_nameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="customer_address" msprop:Generator_UserColumnName="customer_address" msprop:Generator_ColumnPropNameInRow="customer_address" msprop:Generator_ColumnVarNameInTable="columncustomer_address" msprop:Generator_ColumnPropNameInTable="customer_addressColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="536870910" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="customer_phone" msprop:Generator_UserColumnName="customer_phone" msprop:Generator_ColumnPropNameInRow="customer_phone" msprop:Generator_ColumnVarNameInTable="columncustomer_phone" msprop:Generator_ColumnPropNameInTable="customer_phoneColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Customer" />
      <xs:field xpath="mstns:customer_id" />
    </xs:unique>
  </xs:element>
</xs:schema>